QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    mainwindow.h \
    stdafx.h

#关闭警告提示
CONFIG += warn_off

#程序版本
VERSION = 1.0.0.1
#程序图标
RC_ICONS = Icon.ico
#产品名称
QMAKE_TARGET_PRODUCT = 船用上位机ESMU
#版权所有
QMAKE_TARGET_COPYRIGHT = 中合聚能
#文件说明
hQMAKE_TARGET_DESCRIPITION = Http: www.ginontecj.com AuthorEmail: evain_wl@163.com

TARGET      = Esmu
TEMPLATE    = app
MOC_DIR     = temp/moc
RCC_DIR     = temp/rcc
UI_DIR      = temp/ui
OBJECTS_DIR = temp/obj

RESOURCES += \
    Image.qrc

CONFIG      += warn_off

INCLUDEPATH += \
            $$PWD \
            $$PWD/Compoment \
            $$PWD/DBFile \
            $$PWD/Login

include ($$PWD/Compoment/Compoment.pri)
include ($$PWD/DBFile/DBFile.pri)
include ($$PWD/Login/Login.pri)

# INCLUDEPATH += \
#             E:/DevelopTools/QtSdk/qucsdk/include \
#             E:/DevelopTools/QtSdk/ggbondsdk/include

# CONFIG(debug, debug|release) {
# LIBS += \
#     E:/DevelopTools/QtSdk/qucsdk/shared/qt_5_15_2_mingw81_64/bin/libqucd.a \
#     E:/DevelopTools/QtSdk/ggbondsdk/shared/qt_5_15_2_mingw81_64/bin/libggbondqucd.a
# } else {
# LIBS += \
#     E:/DevelopTools/QtSdk/qucsdk/shared/qt_5_15_2_mingw81_64/bin/libquc.a \
#     E:/DevelopTools/QtSdk/ggbondsdk/shared/qt_5_15_2_mingw81_64/bin/libggbondquc.a
# }

DEFINES += WIN64

win32 {
    contains(DEFINES,WIN64) {
        DESTDIR = $$PWD/bin64
    } else {
        DESTDIR = $$PWD/bin32
    }
}


